import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import static junit.framework.TestCase.assertEquals;

public class NGuessNumberTest {
  
  @Before
  public void setUp() throws Exception {
    System.out.println("测试开始");
  }
  
  @After
  public void tearDown() throws Exception {
    System.out.println("测试结束");
  }
  
  @Test
  public void main() {
  }
  
  @Test
  public void guessNumberGame(){
    assertEquals(1,1);
//    assertEquals(1,0);
  }
  
  @Test(expected = ArithmeticException.class)
  public void game() {
//    int num =1;
//    int c= game();
//    Assert.assertEquals(num,c);
//    return num;
  }
  
  @Test
  public void cai() {
    assertEquals(0,0);
//    Scanner scanner = new Scanner(System.in);
//    int a = scanner.nextInt();
//    int b = cai();
//    Assert.assertEquals(b, a);
//    return a;
  }
}